package org.xg.study.pd;

import com.alibaba.fastjson.JSONObject;
import org.xg.study.pd.mq.CreateAccount;
import org.xg.study.pd.mq.OrderMQ;

/**
 * @author CMG
 * @version 1.0
 * @cLassName OrderMQService
 * @description
 * @date 2021/9/14 10:38
 **/
public class OrderMQService {
    public void onMessage(String message){
        OrderMQ mq = JSONObject.parseObject(message, OrderMQ.class);
        mq.getUid();
        mq.getOrderId();
        mq.getCreateOrderTime();
        //TODO 处理业务
    }
}
